#ifndef TETRAHEDRON_TREE_ITEM_H
#define TETRAHEDRON_TREE_ITEM_H

#include "src/tetrahedron.h"
#include "treeItem.h"

#include <QTreeWidgetItem>

class TetrahedronTreeItem : public TreeItem {
	Q_OBJECT

    public:
        TetrahedronTreeItem(QTreeWidgetItem * = 0, Tetrahedron * = NULL);
        ~TetrahedronTreeItem();

        void updateTetrahedron(Tetrahedron *);
        Tetrahedron *getTetrahedron();

    public slots:
        void select();

    signals:
        void selected(Tetrahedron *);
//        void deselected(Tetrahedron *);

    private:
        Tetrahedron *t;
};

#endif




